﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ACP.Data;
using ACP.DTO;

namespace ACP.Business
{
    public class QuestionsLogic
    {
        public static List<question> GetAllQuestions()
        {
            return QuestionsRepository.GetAllQuestions();
        }

        public static question GetQuestionById(int id)
        {
            return QuestionsRepository.GetQuestionById(id);
        }

        public static void UpdateQuestion(question questionObject)
        {
            QuestionsRepository.UpdateQuestion(questionObject);
        }
    }
}
